package day03;

import java.util.Scanner;

public class OperDemo07 {
    public static void main(String[] args) {
        Scanner x = new Scanner(System.in);
       /*
        System.out.println("请输入支付金额:");
        double y = x.nextInt();

        if ( y>=500 ){
            System.out.println("打8折");
            y *= 0.8;
        }else
            if (y<500 && y >= 300){
                System.out.println("打9折");
                y *= 0.9;
            }else {
                System.out.println("想屁吃");
            }
        System.out.println("最终结算金额为:"+y);

         */
        double score = -5;
        if (score >=0 && score <=100){
            System.out.println(score+"是合法成绩！");
        }else {
            System.out.println("成绩错误！");
        }
        System.out.println("继续执行。。。。。。");
    }
}
